<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title></title>
    <link rel="stylesheet" href="__ROOT__/static/plugins/bootstrap/css/bootstrap.css">
    <script src="__ROOT__/static/plugins/jquery-3.2.1/jquery-3.2.1.min.js"></script>
    <script src="__ROOT__/static/plugins/layer/layer.min.js"></script>
</head>
<style>
    a{ color:#fcfcfc;  }
</style>
<body>
<div  style="text-align: right;"  >
    <button class="btn btn-success dropdown-toggle wst-btn-dropdown" type="button" data-toggle="dropdown">
        <a href="{:url('Admin/Goodscats/addGoodsInfo')}" >添加商品详情图</a>
    </button>
</div>
<table class="table table-hover table-striped table-bordered wst-form">
    <tr>
        <th  style="width: 10%;"   >商品名称</th>
        <td  style="width: 40%;" >商品描述</td>
        <td>商品详情图1</td>
        <td>商品详情图2</td>
        <td>商品详情图3</td>
        <td>商品详情图4</td>
        <td style="width: 10%;" >操作</td>
    </tr>
    {volist name="rows" id="data" key="k" }
    <tr>
        <td>{$data['goods_name']}</td>
        <td>{$data['goods_describe']}</td>
        <td><img src="__ROOT__{$data['goods_info_images1']}"  style="width: 100px;height: 100px;"  /></td>
        <td><img src="__ROOT__{$data['goods_info_images2']}"  style="width: 100px;height: 100px;"  /></td>
        <td><img src="__ROOT__{$data['goods_info_images3']}"  style="width: 100px;height: 100px;"  /></td>
        <td><img src="__ROOT__{$data['goods_info_images4']}"  style="width: 100px;height: 100px;"  /></td>
        <td>
            <a  href="{:url('Admin/Goodscats/deleteGoodsInfo',array('id'=>$data['id']))}"
                class="btn btn-danger glyphicon glyphicon-trash"  onclick="return confirm('确定删除吗')"   >
                删除
            </a>
        </td>
    </tr>
    {/volist}
    <tr>
        <th  colspan="7" style="text-align: center;"   >{$page}</th>
    </tr>
</table>
</body>
</html>